From: Ian Campbell Date: Thu, 3 Apr 2014 19:06:51 +0000 (-0400) Subject: xenctx: Correct FMT_??B_WORD for arm64. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~5277 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=28c8460abd6c453d46516c6396d42d667dc339b9;p=xen.git xenctx: Correct FMT_??B_WORD for arm64. These should all be unsigned long long to match various variables used in the code, same as x86_64. Signed-off-by: Ian Campbell Signed-off-by: Don Slutz --- diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c index 7275a00eb8..47712abdf1 100644 --- a/tools/xentrace/xenctx.c +++ b/tools/xentrace/xenctx.c @@ -57,8 +57,8 @@ typedef uint64_t guest_word_t; #elif defined(__aarch64__) #define NO_TRANSLATION typedef uint64_t guest_word_t; -#define FMT_32B_WORD "%08lx" -#define FMT_64B_WORD "%016lx" +#define FMT_32B_WORD "%08llx" +#define FMT_64B_WORD "%016llx" #endif struct symbol {